<template>
  <div class="AsideBar">
    <el-aside width="220px" style="height: 650px">
      <!--          <el-radio-group v-model="isCollapse" style="margin-bottom: 20px;">-->
      <!--            <el-radio-button :label="false">展开</el-radio-button>-->
      <!--            <el-radio-button :label="true">收起</el-radio-button>-->
      <!--          </el-radio-group>-->
      <el-menu default-active="1-4-1" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" :collapse="isCollapse">
        <el-submenu index="1">
          <template slot="title">
            <i class="el-icon-location"></i>
            <span slot="title">子系统</span>
          </template>
          <el-menu-item-group>
            <el-menu-item index="1-1" @click="gostage1()" :disabled="isDisabledOne">知识图谱</el-menu-item>
            <el-menu-item index="1-2" @click="gostage2()" :disabled="isDisabledTwo">变更效应传播仿真系统</el-menu-item>
            <el-menu-item index="1-3" @click="gostage3()" :disabled="isDisabledThree">辅助决策支持系统</el-menu-item>
            <el-menu-item index="1-4" @click="gostage4()" :disabled="isDisabledFour">供应链管理可视化系统</el-menu-item>
          </el-menu-item-group>

        </el-submenu>
        <el-submenu index="2">
          <template slot="title">
            <i class="el-icon-location"></i>
            <span slot="title">用户管理</span>
          </template>
          <el-menu-item-group>
            <span slot="title">分组一</span>
            <el-menu-item index="1-1" @click="goCustom()">用户基本信息</el-menu-item>
            <el-menu-item index="1-2" @click="goSearch()">用户查询</el-menu-item>
          </el-menu-item-group>
          <el-menu-item-group title="分组2">
            <el-menu-item index="1-3">用户信息编辑</el-menu-item>
          </el-menu-item-group>
          <!--              <el-submenu index="1-4">-->
          <!--                <span slot="title">权限管理</span>-->
          <!--                <el-menu-item index="1-4-1">选项1</el-menu-item>-->
          <!--                <el-menu-item index="1-4-2">选项1</el-menu-item>-->
          <!--                <el-menu-item index="1-4-3">选项1</el-menu-item>-->
          <!--                <el-menu-item index="1-4-4">选项1</el-menu-item>-->
          <!--              </el-submenu>-->
        </el-submenu>

        <!--            <el-menu-item index="3" disabled>-->
        <!--              <i class="el-icon-document"></i>-->
        <!--              <span slot="title">导航三</span>-->
        <!--            </el-menu-item>-->
        <el-menu-item index="3">
          <i class="el-icon-setting"></i>
          <span slot="title" @click="goCustomlogin()">用户详情</span>
        </el-menu-item>
      </el-menu>
    </el-aside>
  </div>
</template>

<script>
export default {
  name: "AsideBar",
  data() {
    return {
      isDisabledOne: true,
      isDisabledTwo: true,
      isDisabledThree: true,
      isDisabledFour: true,
      isCollapse: false
    }
  }
}
</script>

<style scoped>

</style>